<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;

class Good extends Model
{
    //一个模型对应一张表，如果模型名是Good,对象是Goods
    protected $table = 'goods';

    //对象主键名
    protected $primaryKey = 'id';
}
